From 7d251dd5db5327115df54510215cf299dc743b50 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Sat, 2 Jan 2016 21:04:17 -0500 Subject: [PATCH] doc/manifest: add `cargo run --example` Closes #2251. Should it be mentioned anywhere else as well? --- src/doc/manifest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index 52c00c59e..258ecf9f7 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -419,6 +419,8 @@ They must compile as executables (with a `main()` function) and load in the library by using `extern crate `. They are compiled when you run your tests to protect them from bitrotting. +You can run individual examples with the command `cargo run --example `. + # Tests When you run `cargo test`, Cargo will: -- 2.30.2